//
//  ProtocolTransformType.h
//  etionCBLogic
//
//  Created by wjxfhxy on 1/23/14.
//  Copyright (c) 2014 GuangZhouXuanWu. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSUInteger,EProtocolTransformType)
{
    EProtocolTransformTypeSocketStream = 0,
    EProtocolTransformTypeHTTPSREST = 1,
    EProtocolTransformTypeHTTPSRESTFORFILE = 2
};

@class XLGHTTPProtocolBase;

@class CProtocolBase;

@interface CProtocolTransformType : NSObject

////////////////////废弃

+(void)addTransformType:(EProtocolTransformType)type commandIDs:(NSInteger)IDs,... NS_REQUIRES_NIL_TERMINATION;

+(EProtocolTransformType)getTransformType:(NSInteger)ID;

+(void)setHTTPSRESTAppID:(NSString*(^)())appID;

+(NSString*)getHTTPSRESTAppID;

+(void)setHTTPSRESTEntNumber:(NSString*(^)())entNumber;

+(NSString*)getHTTPSRESTEntNumber;

+(void)setHTTPSRESTUserNumber:(NSString*(^)())userNumber;

+(NSString*)getHTTPSRESTUserNumber;

////////////////////

@end

@protocol ChannelProtocolInterface <NSObject>

@optional

- (EProtocolTransformType)protocolTransformType;

//- (XLGHTTPProtocolBase*)HTTPChannelProtocolInterface;
//
//- (CProtocolBase*)SocketChannelProtocolInterface;

@end


